/** @type {import('tailwindcss').Config} */
module.exports = {
  darkMode: ["class"],
  content: [
    './pages/**/*.{ts,tsx}',
    './components/**/*.{ts,tsx}',
    './app/**/*.{ts,tsx}',
    './src/**/*.{ts,tsx}',
  ],
  theme: {
    container: {
      center: true,
      padding: "2rem",
      screens: {
        "2xl": "1400px",
      },
    },
    extend: {
      colors: {
        border: "hsl(var(--border))",
        input: "hsl(var(--input))",
        ring: "hsl(var(--ring))",
        background: "hsl(var(--background))",
        foreground: "hsl(var(--foreground))",
        primary: {
          DEFAULT: "hsl(var(--primary))",
          foreground: "hsl(var(--primary-foreground))",
        },
        secondary: {
          DEFAULT: "hsl(var(--secondary))",
          foreground: "hsl(var(--secondary-foreground))",
        },
        destructive: {
          DEFAULT: "hsl(var(--destructive))",
          foreground: "hsl(var(--destructive-foreground))",
        },
        muted: {
          DEFAULT: "hsl(var(--muted))",
          foreground: "hsl(var(--muted-foreground))",
        },
        accent: {
          DEFAULT: "hsl(var(--accent))",
          foreground: "hsl(var(--accent-foreground))",
        },
        popover: {
          DEFAULT: "hsl(var(--popover))",
          foreground: "hsl(var(--popover-foreground))",
        },
        card: {
          DEFAULT: "hsl(var(--card))",
          foreground: "hsl(var(--card-foreground))",
        },
      },
      borderRadius: {
        lg: "var(--radius)",
        md: "calc(var(--radius) - 2px)",
        sm: "calc(var(--radius) - 4px)",
      },
      keyframes: {
        "accordion-down": {
          from: { height: 0 },
          to: { height: "var(--radix-accordion-content-height)" },
        },
        "accordion-up": {
          from: { height: "var(--radix-accordion-content-height)" },
          to: { height: 0 },
        },
        "hero1-intro": {
          "0%": { opacity: "0", transform: "translate3d(0, 48px, 0)" },
          "60%": { filter: "blur(0)" },
          "100%": { opacity: "1", transform: "translate3d(0, 0, 0)" },
        },
        "hero1-card": {
          "0%": { opacity: "0", transform: "translate3d(0, 24px, 0)" },
          "100%": { opacity: "1", transform: "translate3d(0, 0, 0)" },
        },
        "hero1-orbit": {
          "0%": { strokeDashoffset: "0", transform: "rotate(0deg)" },
          "100%": { strokeDashoffset: "-44", transform: "rotate(360deg)" },
        },
        "hero1-node": {
          "0%, 100%": { transform: "translateY(0)", opacity: "1" },
          "50%": { transform: "translateY(6px)", opacity: "0.6" },
        },
        "hero1-trace": {
          "0%, 30%": { strokeDasharray: "0 160", opacity: "0" },
          "45%, 65%": { strokeDasharray: "160 0", opacity: "1" },
          "100%": { strokeDasharray: "0 160", opacity: "0" },
        },
        "hero1-pulse": {
          "0%, 100%": { transform: "scale(1)", opacity: "0.6" },
          "50%": { transform: "scale(1.04)", opacity: "1" },
        },
        "hero1-scan": {
          "0%, 25%": { strokeDasharray: "0 180", opacity: "0" },
          "45%, 70%": { strokeDasharray: "180 0", opacity: "1" },
          "100%": { strokeDasharray: "0 180", opacity: "0" },
        },
      },
      animation: {
        "accordion-down": "accordion-down 0.2s ease-out",
        "accordion-up": "accordion-up 0.2s ease-out",
        "hero1-intro": "hero1-intro 1s cubic-bezier(.25,.9,.3,1) forwards",
        "hero1-card": "hero1-card 0.6s cubic-bezier(.25,.9,.3,1) forwards",
        "hero1-orbit": "hero1-orbit 8s linear infinite",
        "hero1-node": "hero1-node 2.8s ease-in-out infinite",
        "hero1-trace": "hero1-trace 6s ease-in-out infinite",
        "hero1-pulse": "hero1-pulse 4.5s ease-in-out infinite",
        "hero1-scan": "hero1-scan 5.4s cubic-bezier(.45,0,.2,1) infinite",
      },
    },
  },
  plugins: [require("tailwindcss-animate")],
}
